ShortPixel\Model\File\DirectoryModel B

Total Complexity 96
Dependencies 4
Dependents 4
Total lines 526
Lines of code 330
Logical lines of code 181
Comment lines 83
Methods 23
Properties 8

Methods 23

Method Rating Maintainability Complexity Lines of code
getFiles()
A
48 12 30
check()
A
46 11 40
__construct()
A
48 10 34
fileFilter()
A
50 9 30
getSubDirectories()
A
51 9 26
getRelativePath()
S
51 6 28
recursiveDelete()
S
59 6 14
getFolderSize()
S
57 4 19
reverseConstructPath()
S
56 4 17
getPermissions()
S
61 3 14
constructUsualDirectories()
S
60 3 13
exists()
S
69 3 7
isSubFolderOf()
S
66 3 9
getPermissionRecursive()
S
64 2 11
is_readable()
S
70 2 7
is_writable()
S
70 2 7
is_virtual()
S
82 1 3
__toString()
S
81 1 3
getName()
S
82 1 3
getModified()
S
80 1 3
getPath()
S
82 1 3
getParent()
S
71 1 6
delete()
S
80 1 3